package com.abing.sandbox.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author CaptainBing
 * @Date 2024/9/14 10:44
 * @Description
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "sandbox")
public class CodeSandboxProperties {


    public CodeSandboxMode mode = CodeSandboxMode.LOCAL;


    public static enum CodeSandboxMode{

        /**
         * 本地环境编译
         */
        LOCAL,
        /**
         * 使用docker编译代码
         */
        DOCKER;

    }


}
